package com.sikaryofficial.auth.mapper;

import com.sikaryofficial.auth.form.RegisterChannelBody;
import com.sikaryofficial.system.api.model.channel.ChannelCompanyAddressReq;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @author : qinjinyuan
 * @desc : 用户渠道商映射接口
 * @date : 2023/11/03 9:19
 */
@Mapper
public interface ChannelUserMapping {
    ChannelUserMapping INSTANCE = Mappers.getMapper(ChannelUserMapping.class);

    /**
     * 实体映射resp
     *
     * @param user
     * @return
     */
    ChannelCompanyAddressReq coverReqToEntity(RegisterChannelBody user);
}
